Changed if-goto JGT to JNE , now passes all tests