5.1.6 dining savages solution