addition of neighbor joining algorithm

fixes #420