Project Euler 933 - Paper Cutting

Official link: https://projecteuler.net/problem=933

Note: My code takes around ~6136s (WITH PYPY, so actually it's way slower) which makes it my longest running piece of code! I'm still happy with my understanding as my solution was identical to a lot of other top solvers

Another note: Problem does not have official difficulty yet but my guess is ~50%