euler's 15: groovy: second attempt at BFS-ish pathfinding algo, after some cleanup/rework of initial idea.