Fixed code indentations.
Added command to navigate in command history (#7).