changing MazePlayer to implement KeyListeners