Implemented all Comparator classes