private boolean checkBoard(){
  for (  NineSwitchesGameSwitch gameSwitch : switches) {
    if (gameSwitch.getState() == 0) {
      return false;
    }
  }
  return true;
}

private boolean checkBoard ( ) { for ( NineSwitchesGameSwitch gameSwitch : switches ) { if ( gameSwitch . getState ( ) == 0 ) { return false ; } } return true ; }
check if all arrows point to the right .
