Map proof of concept

@DmT021 Here is one implementation of Map that does the iteration order correctley. Feel free to take what you need.