Adding cheb.py and some comments for the code.