Added code to average Q-learning over several runs