Initial version of Binary Tree script