divisor function sigma

fixed formatting issues reported by pep8