From mythology to machine learning, a history of artificial intelligence