fix the column creation errors in this code: import PySimpleGUI as sg

col_1 = [[sg.Button('Car Rental')],
         [sg.Button('Car Return')],
         [sg.Button('Total Finance Detail')]
         ]

col_2 = [[sg.Text('TG Enterprises', enable_events=True, size=(50, 1), justification="centre", text_color="red")]
         ]

cars = [
    ['CULTUS', 4, 3500, 300, 550],
    ['SONATA', 3, 5000, 350, 750],
    ['KIA Sportage', 3, 6000, 500, 700],
    ['Yaris', 5, 4000, 300, 600],
    ['HONDA CIVIC', 5, 5500, 300, 600],
    ['Pajero', 2, 7000, 500, 700]
]
header = ["Model", "Available", "price/Day",
          "Liability Insurance/Day", "Comprehensive Insurance/Day"]
layout1 = [
    [sg.Text('Select Function', justification="left")], [sg.Column(
        col_1, key="Col1", visible=True, justification="left"), sg.VSeparator(),]
]
layout2 = [
    [sg.Column(col_2)],
    [sg.Text('Select Car:')],
    [sg.Text('Car not Available', key='-carnot-',
             text_color="red", visible=False)],
    [sg.Table(
        values=cars,
        headings=header,
        key="-TABLE-",
        justification="left",
        enable_events="True")],
    [sg.Text("Number of Days"), sg.Input(key="-NUMOFDAYS-", size=(15, 1))],
    [sg.CB("Liability", key="-liability-")],
    [sg.CB("Comprehensive", key="-comprehensive-")],
    [sg.Button('Ok', key="ok")]
]
layout3 = [
    [sg.Text('TG Enterprises', enable_events=True, size=(50, 1), justification="centre", text_color="red")],
    [sg.Text('Summary:', size=(30, 1))],
    [sg.Text('Car',size=(30,1)), sg.T('Car Type', key='-cartype-', size=(30, 1))],
    [sg.Text('Rent Cost', size=(30, 1)), sg.T('PKR',key="-rentcost-", size=(30, 1))],
    [sg.Text('Insurance Cost', size=(30, 1)), sg.T('PKR',key="-insurancecost-", size=(30, 1))],
    [sg.Text('Tax', size=(30, 1)), sg.T(' PKR',key=('-tax-'), size=(30, 1))],
    [sg.Text('==========================================')],
    [sg.Text('Total', size=(30, 1)), sg.T( 'PKR',key=('-total-') ,size=(30, 1))],
    [sg.Button('Confirm', key='-confirm-'),
    sg.Button('Cancel', key='-cancel-')]
]

layout4=[]
layout = [[sg.Column(layout1, key='-lay1-'),
           sg.Column(layout2, visible=False, key='-lay2-'), 
           sg.Column(layout3, visible=False, key='-lay3-'),
           sg.Column(layout4, visible = False,key = '-lay4-')]]

window = sg.Window('Car Rental System', layout,
                   size=(1000, 600), finalize=True)


def rent_car():
    window['-lay2-'].update(visible=True)


while True:

    event, values = window.read()
    if event == 'Car Rental':
        rent_car()
    if event == "ok" and values['-TABLE-'] != []:
        window['-lay3-'].update(visible=True)
        window.refresh()
        window['-lay2-'].update(visible=False)    
        car_cost = cars[values['-TABLE-'][0]][2]
        car_type = cars[values['-TABLE-'][0]]
        insurance_type = "Liability" if values["-liability-"] else "Comprehensive"
        insurance_cost1 = cars[values['-TABLE-'][0]][4] if insurance_type == "Comprehensive"  else cars[values['-TABLE-'][0]][3]
        insurance_cost = insurance_cost1 *int(values['-NUMOFDAYS-'])
        rent_cost = car_cost *int(values['-NUMOFDAYS-'])
        tax = int(rent_cost) * 0.05
        total = rent_cost + tax + insurance_cost
        window['-cartype-'].update(value=f'{car_type[0]}')
        window['-rentcost-'].update(value=f'{rent_cost} PKR')
        window['-insurancecost-'].update(value=f'{insurance_cost} PKR')
        window['-tax-'].update(value=f'{tax} PKR')
        window['-total-'].update(value=f'{total} PKR')
                
    if event == '-confirm-':
        cars[values['-TABLE-'][0]][1] = cars[values['-TABLE-'][0]][1] - 1
        window['-lay3-'].update(visible=False)
        window['-lay2-'].update(visible=True)
        window['-TABLE-'].update(cars)
    if event == 'Ok':
        cars(values['-TABLE-'])
    if event != None:
        if values['-TABLE-'] != [] and event == '-TABLE-':
            if cars[values['-TABLE-'][0]][1] == 0:
                window['-carnot-'].update(visible=True)
                window['-lay3-'].update(visible=False)
                window['-TABLE-'].update(cars)    
                           
            else:
                window['-carnot-'].update(visible=False)
    
    if event == 'Car Return':
        newList=[]
        for idx, x in  enumerate(cars):
            newList.append( (x[0],idx))     
    layout4 += [[sg.Text('Select Car:')],
              [sg.DD(newList,key='-dd-', size=(30,1), enable_events=True)]
              ]
    window.extend_layout(window['-lay4-'], layout4)

    window['-lay4-'].update(visible=True)
    
    
    if event == 'Total Finance Detail':
        headers_2 = ['Car Model', 'Rent Cost', 'Days','Insurance Cost', 'Tax Cost', 'Total Cost']
        values_2 = []