cool boring demo with a variadic fanIn function
resouce hierarchy solution to dining philosophers problem