Added dir_sample.py.

Added dir_sample.py file.