Add "map" extension for NSArray