added very basic q learning