Finished the matrix keypad code