Added two methods to KeyHandler

methods: keyUp, keyDown