Edited guessing game, added functionality