Now with the java file that contains the actual logic for Biwords.