change rbtree import name as required by the rbtree package
sort on integers for now
omit superfluous if statements
omit node.value if statement when unnecessary