Adding bag and queue datastructures and associated test scripts