https://github.com/CollieIsCute/philosopher_multithread/blob/d8b1210e3865719ffb4665e6229167826bae1bb6/programs/main.cpp#L12:L18
It looks like a little bit duplicate for some codes.
Can we pass a lambda function and bind for those references automatically, and it would look clear.