This is the a commit with the full funciton working.  Everyting is in one parrallel-primes.c file.