Added some example functions to the example folder