Fist algorithm check prime from zero