utils.algo: Add a function to insert a list into a list