adding weight_samples.py code - exercise for functions