writing chars and strings on the display