Fixed error in iterateQ.
Merge branch 'DDV' of https://github.com/Wojje/Reinforcement-Learning-Competition-2014 into DDV