Added skeleton for new SemanticAnalyzer class. We will abstract the code
in semant() and other places into here.