added parsing and sema for exit and cycle statements