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)
Push a new peer into the heap and shuffle the heap