Stack test program (behaves differently than a Queue)