Implement convertDigitsToString() method