Used writeNewElement() method to reduce repetition when adding Contacts in
flush.
Used writeNewElement more in order to eliminate repetition in flush when
Meetings and Contacts are added.
Changes the way that nextMeeting and nextContact are written to file in
flush. The values of the existing Nodes are now set to new values, rather
than deleting the nodes and creating new ones.