AppOmni interview question

Implement a binary tree and write functions to insert values into it and print the nodes.