Changes in Keyboardpoll()

Changed the key handling to events, added up and down