fixed up the getDigit method in RadixSort