Created a function to read Trainer's details from a text file name data.txt and remove the header information Lecturer and Course