added segments_intersection. added constructor for rectangle
added triangle. added operation point in triangle
added operation triangle intersection
added operation rectangle intersection