Added constructor for Player class