Google says Bard, an artificial intelligence chat robot, can now help write code, debug and interpret code.