added basic terminal command history

use up/down keys to navigate through command history.