add exercise nth-prime