parsed and formatted output according to specs
Merge pull request #9 from githubbob42/formatOutput

parsed and formatted output according to specs