added player and input handling to move left and right with arrow keys