Sieve exercise | 1st iteration