Added a new cpp file called player