Add prime checker