History of Robotics: from Ancient Times to the 18th Century