Fixed output bug. Bug was actually in parser, surprisingly. Sometimes it was putting last word in twice.