added some comments to player.py