Correcting failed logic >.>
Merge pull request #2 from pratham2003/patch-1

Correcting failed logic