New python sieve exercise adapted from ruby.