dining philosopher simulation in java