Given a map and a number (n), multiply all values by n and return in a new array.
// input: const m = new Map([['apples', 1], ['bananas', 2], ['carrots', 3]]), n = 2 // output: [2, 4, 6]
/* output */