implement String#tr, String#tr_s methods + specs