What tool was invented in the 27th century BC