Finished writing Q learning

Still need to debug. There are some numpy index slinging involved which
may be problematic.