Can find nth length of Pi for any value

Note: It may take a long time for larger inputs