solved digit multiplication problem