Parameterized the inputs
added a clean target
Added the ability to dump the results to an output file.