Refactoring of typeChecker using equals method.
Merge branch 'master' of https://github.com/software-engineering-amsterdam/poly-ql