implemented FOR, WHILE and DO_WHILE