in pi_digit, pi is first stored as a string