Added iterative deepening depth-first search; implemented 'contains,' various minor code improvements.