Check only for the least bit for eq / lt / gt.
Test cases for P6 and P7.
Fixed problems.
Merge branch 'master' into cheat_imp
Test program done for P6 and P7.
Fixed small comment issues.