divisor semi-working, won't return squares as divisor