Sample code AND Nearest neighbor search
Common descendants