Using list of lists