Changed printList signature in doc (List& instead of List)