Added sparse-map to core with corresponding test.
Merge pull request #2 from ToBeReplaced/sparse-map

Added sparse-map to core with corresponding test.