implemented statement deletion for the control flow statements and loops