Addition of functionality to check keypresses to limit movement on cursor.
Disabled debug X O drawing.
Changed keyboard input function name to be more clear.