Beginning work on event handling. Basic handling of key presses