Pregunta de entrevista de Reva Solutions

Write a function to find nth prime number