What is the best way to simply this expression so that I don't have to set colFinished twice? (colFinished has to be reset to false in each run of the outer loop)
boolean colFinished = false;
for (int c = 0; c < SIZE; c += 1) {
colFinished = false;
while (!colFinished) {
for (int r = 1; r < SIZE; r++) {
...
colFinishedbecause you wish tobreakfrom the inner for-loop, you might want to consider using a label.do..whilemay suit you!