Solution for sieveSundaram