Updated Prime-Checker