Got a simple binary tree implementation and find common ancestor function implemented