iOS App which will draw the graphics of a user defined functions