I am new to OCaml and curious as to how to write a function called Seperate_by
that takes in two parameters, a list and a list of elements on where to split the original list.
For example,
Seperate_by [1;2;3;4;5;6;7] [3;5]
Should have an output of [[1;2];[4];[6;7]]
.