printString Function