added new test case for strCompare2
fixed a dumb mistake with strCompare2 algorithm