add sampleStrategy.py

Signed-off-by: Tony He <yangyi.he@stat.ucla.edu>