<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_and_shuffle(self, peer):
 """Push a new peer into the heap and shuffle the heap"""

        self.push_peer(peer)

        r = random.randint(0, self.size() - 1)
        self.swap_order(peer.index, r)