Added stack, completed and was able to compile BFS