file io work completed. Now it writes everything to dearData.txt. Kind of like diary entry we used to do in the schools