Binary search tree

fixed the binary-search-tree-check (because it was plain wrong) and implemented a binary-search-tree