Problem 77, done. Fixed bug in prime sieve.