code: protected void writeln (BufferedWriter bout, String line)
          throws IOException
      {
          bout.write(line);
          bout.newLine();
      }
docs: Helper function for writing a string and a newline to a writer.