Added graphical output for shortest path grid.