Fixed bounds check (again) on isValidLocation. Should have realized limit
was different for rows and columns.