Add assert for row==0 and col==0

As some users consider that (0, 0) is the first valid cell, so we give
a assert failure in debug mode for such cases.