Added digit to character mapping