Implement makeNode and binaryTreeNode functions