Implement filter() using reduce() and lambdas. Generically. Hah