maze2: compute, and optionally (c toggles) display, path from start to goal.