Provide three basic functions(map, filter, reduce) for NSArray