error in the QLearning algoerithm found (computed with index instead of value), TODO check the convergence