Iterative deepening implemented.