write make_list method to pass tests