Add "redo" command

1.This command can do latest command again.

2.remove the function "void echo()" which isn't used.