sample_list function

Create and validate a sample_list object