Add and us a map_keys function to the balanced trees

Implemented by converting to a list, mapping and then back to a tree.