Matrix problem

It's a standard Arduino library, comes with the IDE, so you won't need to download it or use the library manager.