A stack based maze solver.