adding player.cpp