added draft of functions chapter based on less docs
added draft chapter