added methods to remove or insert elements in the qlist<cinsn_t> list.