well i think i have all the code for q-learning but it doesn't run