Add headers to all comparator classes and add some comments here and there throughout.