Add methods numberToCharArray and charArrayToNumber