implement iterative deepening
implement node sort (contains bugs)
improve node sort (still bugs)