Issue #4: nextPrime should return prime > input, even if input is prime