Implementation of lists to lists to list
Implementation of lists to lists to list