Add function insertR(new old lat)
Add function insertL(new old lat)
Add function subst(new old lat)
Add function subst2(new o1 o2 lat)
Add function (multirember a lat)
Add three fucntions: multiinsertR, multiinsertL and multisubst