6.00.2x-CS-Python: Directed DFS, discard all paths longer than constraint.