fixed bugs in constants, equals and compare
fixed bug in integer division routine