Implement `truncate(s, n)` returning `s` unchanged if its length is at most `n`, otherwise the first `n` characters followed by three dots.
Run your code to see results.