def make_flat_list(input_list):
    """Takes a multidimensional list and returns a one dimensional list"""
    flat_list = []

    for x in input_list:
        if type(x) != list:
            flat_list.append(x)
        elif type(x) == list:
            for y in make_flat_list(x):
                flat_list.append(y)
    
    return flat_list