Solve Exercise 3-5: itob