Adding `sieve` solution