Integer array filtering function (even, odd, over, under)