a C++ program for the Philo and Chop problem, Muti-thread programming