I have a function that takes in a text file and I want to loop through the characters and check if a character is an emoji or not. I have this code to loop though the characters