The code below, starting with the while loop goes through each iteration and labels each entry which is separated by a comma. Then checks the text file to see if it matches