Added a bit of code to save to a file.

test.txt created and to be used for the price function.