Now calls printList() to shows elements in list.