Usage python main.py random to generate puzzles! python main.py files to solve three groups puzzles with different difficulty. python main.py <file path> to solve puzzles in file path.