Solve Exercise 3-6: itoa (3 arg version)