class Hash

def insert_at_index(index, key, value)

def insert_at_index(index, key, value)
    return self[key] = value if index >= size
    temp_array = to_a
    temp_array.insert(index, [key, value])
    replace(temp_array.to_h)
end