if else and while statements (number guessing game)