circular list implementation of normal stack