some small programs written in python