added full read and write for xml

we can write with xml to a file using our 'list-of-lists' recipe
structure. i'm no wiz with python, so feel free to correct anything you
like!