<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def adds(self, string):
 """ Add a string child. """

        if isinstance(string, unicode):
            string = string.encode("utf-8")

        self.children.append((STRING, str(string)))