Pergunta de entrevista da empresa Meraki

Write a method to find the nth prime number.