Added constructor to Player class