trivial functions in python

wrote a few basic functions to get a sense of python syntax.
notes for repository