last_sample function

Create a list with the last samples in the pmwgs object