Finished implementation of depth-first search, squad speed now accounted for.

Signed-off-by: Ken 'Minalien' Murray <minalien@gmail.com>