Longest word now works and I added an additional case for if vertex = undefined.
Longest word now works and I added an additional case for if vertex = undefined.

ataffe/Text-Analyzer,ataffe/Text-Analyzer