Adding example.py for use in testing.