short example of a scheme allowing multiple keypresses to be detected simultaneously. Very useful for making games etc.