Added HandComparator Class