Added documentation for the player class