beginning the implementation of the iterative deepening strategy for solving the problem