Hex keypad interfacing in PIC18F4550