reinforcement learning algorithm --------q learning