Accepting Serial Input from Keyboard as interrupt