optimize make_lr1_closure
reduce O(n) -> O(logn) where n = grammar size
remove a warning
change rule indices data structure from map to unordered_map