Write function, named duplicateString(aString, value) that takes, as arguments, a string and a positive integer, and returns the string created by writing each letter in the string the number of times that corresponds to the value specified. For example,
>>>duplicateString("word", 3)
should return the string "wwwooorrrddd" and
>>>duplicateString("hello", 1)
should return the string "hello".