Ray Kurzweil, Google’s chief engineer, is a famous futurist who’s always banked on the coming of the singularity — when artificial intelligence overcomes human intelligence. For that to happen, however, we need to figure out the master algorithm.