the bag is empty when bag equals next
emptybag =(bag == ranking.next);