Number Guessing game in C++