Added Player class and newgame function