sieve class, and edit facotirzor slightly
 add a couple of methods for exponentiation
coprime func