Simple prime number test