Added comments to player.cpp