The Teaching Dimension of Q-learning