created a Rules class and moved some of the logic from Game to Rules
fixed UI.valid_input?, which was using the wrong index for determining the range of available numbers
Merge pull request #3 from kelmerp/fix_mark

Fix mark