I am trying to make a function where with a given substring you can print out all elements that contain it. In theory I thought it would be possible by taking the printAll f