Work on square detection:

- started the algorithm exploiting convex combination
- started (but not implemented) ordering lines
- crashes at certain point... :(