array of chars, less than or equal to 256 in length
corresponding array of chars to translate to
translation array
assert(translate("hello world", makeTransTable("hl", "q5")) == "qe55o wor5d"); assert(translate("hello world", makeTransTable("12345", "67890")) == "hello world");
Construct 256 character translation table, where characters in from[] are replaced by corresponding characters in to[].