Write the function itob(n,s,b) that converts the integer n into a base b character representation in the string s .