Fixed Magic numbers in keyboard listener
committed changes including:
getter in DataOfSquare and its implementation in Window
ability to use the number pad for directionality in KeyBoardListener
added a case for esc in KeyBoardListener