remember for breadth first searches, you are putting the vertex of your graph into a queue and that determines the order they are travelled