Hex Keypad interfacing in PIC16F877A