Fixed operator< for Kwic, and program now produces correct output.