Create pi_to_nth.py