Added the swap method to the bag class.

git-svn-id: http://svn.code.sf.net/p/adevs/code/trunk@234 153d293f-9360-418f-87de-c6d3afdd7922