sorted map implementation with a left leaning red black tree

moved the pull request source to a topic branch. it's simpler as long as we're small team.