factor now displays (incorrectly) all the factors of an int. working on
th emany zeros. need to test other cases as well