1 -- random code from http://lua-users.org/wiki/TextJustification
2 -- easy queue implementation ------------------------------------------
3 -- line creation routines ------------------------------------------
4 -- justifies one line to fit into MAX columns
5 -- join all words with one space between them
6 -- main program -----------------------------------------------------
7 -- tries to get MAX from command-line
8 -- collects all text from stdin