Using Hashset to map nouns to their vertices.