Sample programs written in python