ContactManagerImpl updated

to include method getNewContactId(); which returns a unique ID for each
contact.
Now also saves info to txt file whilst still working on contact
manager, so that you can still have your info in contact manager -
previous method writeContactsToFile(); would delete all contacts from
the set.
Also, now overwrites all info in the txt file - previously just added
which caused duplicates.