func NewStack() *Stack {
	return &Stack{s: []*Info{}}
}
NewStack creates a new LoopStack.
package loop
import (
	"errors"
	"sync"
)
var ErrEmptyStack = errors.New("error: empty stack")
type Stack struct {
	sync.Mutex
	s []*Info
}