Finished Philosophers class implementation.