Added comments to the player code
This is in an effor to refactor player.py to be neater