Adds RBT declarations.
Makes RBT map-like instead of list-like.
Adds RBT test.