sieveSundaram from Exercise 4 for Week 4.