Fix stack length method. Implement Pez container using stack.

Signed-off-by: Michael Burbidge <mburbidg@gmail.com>