Added a for loop to test if the program is adding members to the list