Unfortunately i have the circuit you need but cannot open it as it has become corrupted.
What you have to do is as follows:
On the right hand side of the keypad [please excuse my insufficient knowledge of pin names], connect it to the outputs of the GENIE PIC.
Then, the bottom pins go to the inputs of the GENIE PIC.
What you want your flowchart to do is the following,
Say you want the number one, the right hand side pin of 1 is connected to Q0, which would be the first output.
The bottom pin of 1 is connect to D0, which would be the first input.
You flowchart would be like this...
START
l
Q0 HIGH
l
WAIT 0.25
l
D0 ON?
Y l
[CARRY ON]
does that help?
sorry im not too familiar with the theory behind it