Added NSArray reduce, and NSDictionary map