VX(Li): Add deep-first search algorithm.