Queue-Learning: A Reinforcement Learning Approach for Providing Quality of Service