Exercism sieve in Python.  All tests passing but ugly.