Added WordNet constructor that can build Digraph