finds all the factors of the entered number