Fixed while using genStmt when it should be using treeTrav
Fixed while using genStmt when it should be using treeTrav

GhostofGoes/cgoes-cs445,GhostofGoes/cgoes-cs445,GhostofGoes/cgoes-cs445,GhostofGoes/cgoes-cs445