ADD: iterative deepening in c