Refactor make_list method in listmaker.rb and remove redundant test from list_maker_spec.rb