Write a story about a robot who develops human emotions after a malfunction in its coding