added simple test case of mismatched brackets
clarity of IO: replaced putStr with hPutStr stdout, added comment above main re:encodings; added additional comments on error handling in execute; added input/output example to examples/