google for https://www.google.com/search?q=button+matrix+diode
read in this forum: https://forum.arduino.cc/t/button-matrix-that-needs-no-diodes-wrong/565156/4