qlearning and hash table