Wrote Player class