Implements sieveSundaram using list comprehensions