This problem was very short earlier and hence was closed. I have edited that question and am also posting it again (the guidelines said that I should edit/post a new one aft