John McCarthy, a professor emeritus of computer science at Stanford, the man who coined the term "artificial intelligence" and subsequently went on to define the field for more than five decades