Wrote a prime number checker.