Introduce virtual codegen routines in to WhileStmt and ForLoop