How a keypad works - 4x4 button keypad matrix tutorial