How Robots Can Acquire New Skills from Their Shared Experience