Implemented split_at_index() and split_at_first_point() for Polygon