Initial commit of code

Starting 4 Python snippets, without tests for now. Expect refinements in
the future.