Added a get_max_frequency method for WordTally class.
Added a sample comaparator in leitmotif.py .
Addressed commutativity in CartesianComparator.