Depth First Search implemented and tested (mildly)