close app on window close
added game board analyser that creates map according to which the pacman move is allowed or not