Implemented gthan, lthan, gequal, lequal, nequal.