Codejam word-reverse practice. Good template. First argument is considered an input file