I coded a function called tabulated_matrix() which turns a list of lists into a table using the tabulate function. Now I want to code a function that can split this tabulate