completed and tested skeleton stack and queue class