Divisors function now prints only divisors