a simple number guessing game in C