Iterating over a numpy array,"[(x, y) for x, y in numpy.ndindex(a.shape)]"