Shelf can be broken by making matches next to cups. A shelf can only be broken once all the cups on that shelf are broken.