Implement map

I cannot figure out how to add an entry for this to the benchmarks, the code is pretty confusing to me...
I'll have a shot at the at the other map functions later on as well :)

Very nice initiative!