remember that you are putting the vertexes of your graph into a stack and that is what determines the order they are travelled