Homework Assignment one - guessing game