a simple prime number generator in C.