Connecting a 4*4 keypad

Yea, but it works, look at the diagram.