A function to convert an integer into an ASCII string