Refactors student list to add methods and use these to print the student list array.