Created originally on Bitbucket by johnpeb (John Peberdy)
Need ability to find common ancestor of two nodes