handle inline multi-field declarations
encapsulate most of the main() logic so that testing actually runs the same code
Merge pull request #4 from philhofer/multi_name

handle multiple declarations on one line, and more!