Add proper divisor methods to number.py
Refactor #23