bag as a double ended queue
arduino test added