Wrote `Filter` using a list comprehension