Add subsample.py