Keyboard input and incrementing timer