Reinforcement Learning for Test Case Prioritization