Refactor Secret Number Game - place majority of code into a class