Added solution to finding pi to the nth digit.
Renamed functions.