wrote some code for the player spec and player class, but not tested yet
wrote code and spec for player class but did not test yet