Removed typo
Started sampling.py and appropriate tests