Avoids loop inside a loop and checks to see if words in a static list are in a larger list of numbers.