have put all three functions in file; working on IDing parts; finished? first function
changed how I set up the file contents for the first function and corrected some info
finshed homework assignment as best I can