Enumeration of simple random walks and tridiagonal matrices