the nth prime number python