Add solution for #1112 Mice and Maze