Completed explode function which turns a Table into a vector of smaller tables.