Created a math library with the Prime Number Generator function API