Add unit testing main method to WordNet
Implement free list of arrays for vertex distances to avoid reinitializing them each time