Implementing the Shallow_Q_Learner