Added prime number test and gcd() + tests.