implemented initPlayer() method

please look at the code what the method returns