Using BTreeMap instead of now-removed TreeMap.
Merge pull request #20 from aatxe/master

Using BTreeMap instead of TreeMap.