BINARY TREE CODE:
OUTPUT: