add the method write_lines_on_chalkboard