Modified the Exercise 2 so that the code checks whether given UPC code contains the string/character or not