How would you convert a nested list that contains either nested lists or integers into a single flat list?
Implement flatten_nested_list(nested). The input is a list whose elements are integers or lists with the same structure. Return a new list containing all integers in left-to-right order.
def flatten_nested_list(nested):