implement binary tree
Merge pull request #13 from reedns/binary-tree

implement binary tree