<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def track_end(self):
 """ Ends tracking of attributes changes. Returns the changes that occurred to the attributes. Only the final state of each attribute is obtained """

        self.__tracking = False
        changes = self.__changes
        self.__changes = {}
        return changes