<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_default_links(self):
 """Create the default links between the IM and the device."""

        self._plm.manage_aldb_record(0x40, 0xe2, 0x00, self.address,
                                     self.cat, self.subcat, self.product_key)
        self.manage_aldb_record(0x41, 0xa2, 0x00, self._plm.address,
                                self._plm.cat, self._plm.subcat,
                                self._plm.product_key)
        for link in self._stateList:
            state = self._stateList[link]
            if state.is_responder:
                # IM is controller
                self._plm.manage_aldb_record(0x40, 0xe2, link, self._address,
                                             0x00, 0x00, 0x00)
                # Device is responder
                self.manage_aldb_record(0x41, 0xa2, link, self._plm.address,
                                        state.linkdata1, state.linkdata2,
                                        state.linkdata3)
            if state.is_controller:
                # IM is responder
                self._plm.manage_aldb_record(0x41, 0xa2, link, self._address,
                                             0x00, 0x00, 0x00)
                # Device is controller
                self.manage_aldb_record(0x40, 0xe2, link, self._plm.address,
                                        0x00, 0x00, 0x00)
        self.read_aldb()