<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def newline(self):
 """Write eol, then start new line."""

        self.write_str(self.eol)
        self.room = self.maxlinelen