Simplify unindent()
Add main() function