Solved integer multiplication problem