Add typeCheck, fix bad hierarchy structure
Merge branch 'master' of https://github.com/Pieter2406/OGP_assignment