Getting both rectangle sides to work as intended is tricky. This works, but should be replaced with something better.
Instead of just deleting points in the triangle, we only check specific ones which are relevant
The performance mode, which I'm working on, can now be tested with `make performance && ./performance`. A very simple test was added, and it works!