fixing commas in output
including last count in counter
test files can now be passed to executable