refactor isprime
redo main for first n primes
update makefile