iterative deepening search and append example

maybe we should start a repo on its own for this stuff (if we keep hacking on it)