Geometry widget 11th commit

- Add cut polygon visualization
- Add traversed vertex for perimeter and isConvex
- Fix pseudocode
- Use 0-based indexing