Change Queue_send to work on tail and Queue_recv to work on head