結果 : what was the first mechanical calculating device invented in ancient times