Save the line
Improvements :
Test losange
Implement the shape detection for rectangle, trapeze
Add button to display Shapes
Improve the algorithm