Handle '!=' non equality symbol

- The parser could not handle the '!=' non equality symbol. Added code to handle this symbol.
- Removed trailing white spaces too.