Learning the Skill of Self-recognition and Self-Embodiment