Queue = queue:from_list([1,2,3]),
% Get the initial length of the queue
io:format("Initial length: ~p~n", [queue:len(Queue)]),
% Add some data to the queue
Queue1 = queue:in(4, Queue),
io:format("Length after adding one element: ~p~n", [queue:len(Queue1)]),
ok.