Updated solution to sieve of eratosat
Changed typo and added control flow