void Screen::FillRectangle(int row, int col) { if (0 <= row && row < Size() && 0 <= col && col < Size() && myPixels[row][col] == white) { myPixels[row][col] = black; FillRectangle(row-1,col); // above FillRectangle(row+1,col); // below FillRectangle(row,col-1); // left FillRectangle(row,col+1); // right } }