A Reinforcement Learning Approach for Collaborative Filtering