arrayDivislbe method returns an incorrect array

two loops - while + each, and an if statement
next if the number to factor is smaller than the factoree