Save previous calculation to file

Updated pretty_print() to store it's output in a cell array.
We can now store that value to later be saved to an output file.