Move to_rectangle to polygongeometry
Move to_rectangle to polygongeometry

to_rectangle was in the Triangle class. It was moved to
polygongeometry as triangle2rectangle.

This is necessary for polygongeometry to store every step it takes to
convert a triangle to a rectangle.

moyamo/polygon2square