Project 4 Address Book, Writing to XML File