Implemented Archaeologists Dilemma.