Project Euler #7: 10001st prime