Why is my Keypad not working with 5x5?

What board are you using?
You could try the code in post #16 here to help isolate the problem: