Changed a few lines in ComputerTeamD to facilitate faster peformance while using all BFS