Hideto added a feature that allows users to have an option to save the output in the .dta format for table manipulation
second modification with changes in all three
files. testing is not perfect I think in general
Getting rid of repeats

The dta option part was mostly exactly the same as the non-dta option part, so I trimmed the code.
Merge pull request #4 from jjlong/patch-1

dta option + edits