added a deindent() function .

deindent() makes coding easier.
Also it's good for the further modification about indent/de-indent behaviour.