Successful solution for Guessing Game problem - http://www.codechef.com/JUNE14/problems/GUESS