pfunc is a simple program to determine the nth prime number, where n is a parameter provided by the user.