Boy, 9, builds Lego robot that solves Rubik’s Cubes