// display display all nodes of a list.
display display all nodes of a list.
// display display all nodes of a list .
func (l *list) display() {
	for n := l.head; n != nil; n = n.next {
		fmt.Println(n.value, n.next)
	}
}
func ( l * list ) display ( ) { for n := l . head ; n != nil ; n = n . next { fmt . Println ( n . value , n . next ) } }
display display all nodes of a list.
display display all nodes of a list .
// sequential access