No need to store vertices in a set

The adjacency list already stores vertices.