added func defs for StackCrate (array implementation of Stack)