Completion of 2d pathfinding algorithm and output.