convert cp437 to a table
simplify boxchar function with a table