Created a player class to handle user input. Closes #12.