Check if two nodes are cousins in a Binary Tree