<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _escape(self, msg):
 """ Escapes double quotes by adding another double quote as per the Scratch protocol. Expects a string without its delimiting quotes. Returns a new escaped string. """

        escaped = ''	
        for c in msg: 
            escaped += c
            if c == '"':
                escaped += '"'
        return escaped