add binary tree with functionality
put output to array instead of global variable
Merge pull request #2 from Marco-Lindsay/binary

Binary