Added two methods in new class, InteractWithTxtFile.java, for reading
and writing to a text file.