a simple program for primes and fibs