Update stack & queue

finish question 3.1 to 3.4