creating my own printf function