Groovy Solution to Maze Solver Kata