Fixed print_list to not take a param