HW1 (Emilijus Grasys)

I think you mean a Queue, not a Stack?