Recursive Best First Search and Iterative Depth First Search