Wrote DepthSearch class, cleaned up old code from Quadtree