added support for dynamic hungry philosophers