Added the rest of the primality tests