fixed a kludge
clearer error message
Changing only the first line of a file is harder than I thought
Finished method to change first line of file
Finished updated write method. Now checks for header sanity.
Complete (initially. There are most likely bugs)
Preliminary IT WORKS
update readme
removed extraneous debug messages.
update README to reflect new testing results