added some comments and genRandomSymbolsAndUpdate
Merge remote-tracking branch 'origin/master'