factor_list function coded and passing tests