Text this: M-matrices and one-dimensional discrete Sturm–Liouville problems with nonlocal boundary conditions