Update prodCons.c

Fixed issue where only the last consumer and producer threads were being printed out