Function plotter

After reviewing the code and the demo I decided that it is worth to be added to the main repository.