This method is supposed to convert a number (as a String) to an array of bytes. The ordering must go from most to least significant digits. For example, if the
number String is “732” then index 0 of the array should contain 7.
The last argument (numDigits) should match the length of the
string passed in.