uses an algorithm i came up with, though it's probably not new basically it checks for division with only the prime numbers lower than a numbers square root