<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_connector(self, connector_type, begin_x, begin_y, end_x, end_y):
 """Add a newly created connector shape to the end of this shape tree. *connector_type* is a member of the :ref:`MsoConnectorType` enumeration and the end-point values are specified as EMU values. The returned connector is of type *connector_type* and has begin and end points as specified. """

        cxnSp = self._add_cxnSp(
            connector_type, begin_x, begin_y, end_x, end_y
        )
        self._recalculate_extents()
        return self._shape_factory(cxnSp)