Finished 10001st prime number, fixed prime checker.