Fixed bug in sieve_of_atkin