a guide to artificial intelligence with visual prolog randall