Solve the 'Multiply Strings' problem