Check in prime sieve solution to problem 3.
Added factoring solution to problem 3.