finishing up divisor problem

Commenting, minor improvements