adds support for conditionals and indented output
sloppy, simple test suite
fixes indentation in nested conditionals