Super fast trick to check a number is prime or not