edited the 7 bit comparator