A set of words stored into a TreeSet


Here is infile1.txt

how much wood would a wood chuck chuck if a wood chuck would chuck wood

We want to load infile1.txt into a TreeSet of String. We will then read some words from a second file: infile2.txt

a woodchuck likes to chuck wood if he can get some
and search our TreeSet to see which words from our infile2 are found in the TreeSet.
WoodChuckSet.java