A small program that calculates prime numbers.