updating breadthFirstSearch.c