Cons lists; binary search trees