updating tester - converting q-learning from tab to spaces