support average on R script
Merge branch 'master' of https://github.com/zahybnaya/generic-best-first-bandit
Update the R script