Exercise 2 with arbitrary precision decimal package

Imported decimal.
Wrote a function to run exercise 2 with decimal
Changed a couple of earlier functions to work with decimal