Working DFS in createTeam.py with search2.R