Added Undo, Restart, Game over and No path

Added Undo button - restores state, that is saved before each move.
Restart - just a button instead of reloading page
Game over - add overlay div with sign
No path - board border flashes red if no valid path found for move.