Updated string compare to == operator

Referring to @certik notes on previous commit.
Updated string compare to == or != appropriately to simplify the
code. (Both run the same underlying code, so simplicity is better
bargain)
Changed rcp(new Integer(-1)) to integer(-1)