Update comments, and implement redo.

Rename command mode -> normal mode,typing mode->insert mode.
Implement redo (^R)