global.lvl is the number of "good" bubbles, for example at level 1 global.lvl = 3, so it should found 3 "goods" bubbles in the grid, the rest of the cell is full with "bads" bubbles, so the player have to press only the good ones. Now, this is working, but only for the j (rows) no idea why is not working for the column.