Ensure an extra space on a line or a newline works fine
Format and print output, add main method
Gracefully handle too many command line args
Add larger test file