A classroom exercise for introducing population structure