             }
         }
 
+        /* Once done filling buckets, traverse the buckets in ascending order
+        ** and recursively sort them, then add the buckets to the result array
+        */
         for index in 0..<10 {
-            //resultArray += buckets[index] ? bucketize(array: buckets[index]!, exp: exp*10, max: max) : []
             if buckets[index] != nil {
                 resultArray += bucketize(array: buckets[index]!, exp: exp/10)
             }

        return digitCount
    }

    func power(base: Int, power: Int) -> Int {
        var number = base
        for _ in 0..<power {

        return resultArray
    }


    // Simple method to count digits of a number
    func countDigits(number: Int) -> Int {
        var digitCount = 0
        var numberCopy = number
