Implement indent command and add tests

fix issue #57