repeatSeparator: words with a separator between

Return a big string made of count copies of word, with sep between each one — but not after the last. Step through repeatSeparator and watch the if spot the final pass through the loop (i == count-1), when only the word is added.