random generator refactored; menu added;
q learning controller changed;