small changes to sample.py
Removed commented code