click the flag, and the code will automatically draw a random pattern of black and white. press d to erase everything, then press r to redraw everything.