def main(): mode, length, width, file_path = load_data() program = Program(length, width, mode) program.read_file(file_path) if mode == 1: program.load_data() program.simulate1(length, width) elif mode == 2: program.simulate2(length, width)