Please solve the programming task below using a self-contained code snippet in a markdown code block.

You are given an array of strings equations that represent relationships between variables where each string equations[i] is of length 4 and takes one of two different forms: "xi==yi" or "xi!=yi".Here, xi and yi are lowercase letters (not necessarily different) that represent one-letter variable names.
Return true if it is possible to assign integers to variable names so as to satisfy all the given equations, or false otherwise.
 
Please complete the following python code precisely:
```python
class Solution:
    def equationsPossible(self, equations: List[str]) -> bool:
```