Displaying a list of students using LinkedList