solution to Multiply Strings