Solutions for the dining philosopher problem, implemented in Dart