fixed binary tree per LYAH. an item shouldn't be duplicated in the binary tree. Also, < and > behavior doesn't need separate cases.