Completed Binary Tree Common Parent Search with binary tree implementation