added discrete state hashing scheme + improved dfs using unordered_map, yields much faster exploration