Refactor my-map
Implement my-reduce