Change Queue_send work on tail and Queue_recv work on head

Change Queue_peek to work on first element instead of
last.