Coding for the iCub humanoid