Partially working AIMA IDDFS.
Kind of working iterative deepening based on stack.