Fixed tpying on the Filtered iterator and iterable.
Cleanup of Pred.
Add tests for problem 2.
Add another example.