Added algorithm to check primality