Errors in Player class solved