Created the Player class that can be controlled with the arrow keys