Adds "marked" attribute to vertex for DFS algorithm