Update pad-trim.r

Addressing issue #33 by a) removing the `NA` input to `str_dup`'s `lengths` argument, which can't handle it, and b) replace the `NA'` strings with actual `NA`'s at the end of the function