Started testing Q-learning.

Seems to be a bug where the algorithms choses to step to the terminal
state giving -1 reward when it stands next to it, even though it has
done that mistake before. One should expect it to chose to step away
from that terminal state when standing next to it.