complete rest functions in queue, all we need is testing
update header
start implement stack with array method