Semantic analyzer now handles while and if

Handles while and if statements