Update Player.java

Fixed AI coding