Driver Code
public static void main ( String args [ ] ) { Node root1 = null , root2 = null ; root1 = newNode ( 3 ) ; root1 . left = newNode ( 1 ) ; root1 . right = newNode ( 5 ) ; root2 = newNode ( 4 ) ; root2 . left = newNode ( 2 ) ; root2 . right = newNode ( 6 ) ;