list2df function

List to data.frame