added a very bad filtering algorithm
use native filtering (extend Filter class)
test filtering by making sure the array contents haven't changed (but they will if you remove elements without filtering!)