parsing synsets and hypernyms

parsing synsets and hypernyms to construct digraph