problem set-1a find the nth prime number