rearrange vendingMechine