New algorithms of the Q-learning type