Added Comparable interface and ComparisonHelper class