Creating a binary tree.