added formatted money math function

assignment complete, but i intend on adding more math and array
functions to see how many problems of the assignment i can work out