Two Sigma interview question

Create a filtering iterator for numbers mod 5 based on an existing iterator.