program that displays keyboard input