Ellipticity and Fredholmness of pseudo-differential operators on $\ell ^2(\mathbb {Z}^n)$