Improving compare function.
Comparison operator fixed and as an added bonus this somehow fixed the subtraction function.