Solves task 4 compare text files line by line