various python scripts from Coursera class