Robots learning to solve problems together