Making custom functions

Hi, I think we can make a little change to the function for making custom sqlite functions. And some very frequently used custom functions are added here. It will save developer's time.