Added Player Class and refactored code

Wrote and implemented a player class
Merge pull request #1 from kadkins3211/master

Added player class and refactored main code