func (s *Stack) Len() int {
	return s.length
}
Return the number of items in the stack
package stack
type (
	Stack struct {
		top    *node
		length int
	}
	node struct {
		value interface{}
		prev  *node
	}
)
func New() *Stack {
	return &Stack{nil, 0}
}