Added code example to list functions. Moved empty list into tail on diagram.