Got Sieve of Atkin algorithm working