Update Player.java

Removed parameter from setCode
Created overloaded setCode method that contains parameter