Add a command line argument --format to specify CSV output for redirection to a file

Addresses issue #5

@chetan51
Is there a reason Predicted Term 3 is repeated twice? (I know you didn't write the original code, just wondering if you know whether it's a mistake or intentional.)