main.py contains a non-verbose version of the code. main2.py has lots of print functions in between to tell you what is going on. Code does not yet work for certain test cases and is not yet optimized.