added sample.py
fixed typo
fixed typo