simple stack and queue datastructure demonstration - conventional not SPL used