Functional Extension for NSArray and NSSet