Depth first search (Non-functional)

Incomplete version of DFS. There is a problem with the current
two-dimensional array implementation in Janus, which will hopefully be
fixed asap, whereafter implementation will be finished.