Kata 14

Assignment: What is the 10001st prime number?

Instructions:
1. Input either the index of which prime you want, or check if a number is prime.