getSymbols method
This function returns the list symbols. Before returning the list, it checks the variable shuffled and if it is false, it generates a new random order for the list.
Implementation
List <String> getSymbols(){
if(!shuffled){
symbols.shuffle(Random());
shuffled = true;
}
return symbols;
}