Wiring keypad in cube instead of matrix

Isn't that what I wrote?


In the image my 1st post, I have switches with 2 terminals, what's the problem?