primecheck implement

adding a faster primecheck to several function
first upload