Fixed run and reset buttons in graphDFS and graphBFS