row:=buttonindex mod (rows); / / Calculate rows and columns indexes – calculates the coordinates of the column and row
mstari: = buttonindex Mod (safu); / / Kokotoa safu na bahati nguzo – mahesabu ya kuratibu ya safu na safu