map' in terms of foldl
WIP: fun2'