Homework part 1 - secret number game