Implemenrs insert-right and insert-left functions.
Splits list transformations from higher order functions excercises.