Implemented a method to partition the collection into two collections based on a predicate.