adding source code for coursera class: An Introduction to Interactive Programming in Python  offered by Rice University