First working version,print only chars,printstring() function not
implemened yet