rewards added in qlearning file (still for sarsa algorithm)