結果 : write an algorithm for enqueue and dequeue operations in queue