Added function script.
Added some examples to fnc.py.