Update Player.java

Added a new way to handle the walking animation