Recursive depth first search now properly implemented.
PROPER: really fixed uniform cost search this time (had to remove from closed)
Separating out reused methods; iterative deepening now working properly.