Refactored the doubleIt function to use multiplication within the string