An Amusement Machine using LEDs

OK so some small progress here. I can now run the spin function three times, but still stuck on the first reel, the count does take up where it stopped though, which is good. After three spins the while loop stops the spin function which is also good. So I now I need to work out how to advance the wheel...

void loop() {
  Serial.begin(9600);
  
  //reel stop function displaying each stop token passed up from spin function

  int j=0;
  int k= spin();
for (symbols[j][k]; j <3; j++) {

  
  wheel[0] = spin();
  for (int i = 0; i < 3; i ++) {
    flash(200, 200, wheel[0]);
  }
}
  while (1) { } // stop, press reset to start
}