Keyboard input & echo implemented