結果 : write the algorithm for insertion and deletion of elements in queue data structure