結果 : write python function for enqueue and dequeue