__write_str() prints at the location of cursor instead of beginning; also adds newline with '\n'