added writeln function to writer interface
use raw string literals and writeln function