Updated QCompare.c

Added comments