adds makeZeroPaddingDigits() and replaces array_pad() with it.
changes the algorithm of deciding whether the result number is negative or not in multiply().