Update semanticAnalysis.c

First step for traversing right hand side.