This is a lab involving n producers and m consumers.