Work on Semantic Analyzer

Attempting to get semantic analyzer working.