Implement map.
Added a benchmark for map.
Merge pull request #3 from RamsesDeNorre/master

Implement map