Refactored divisors to be recursive
Added comments about using fold/reduce