Switching prime function to use ceuler.c library isPrimeOpt() function.