in c_function_graphic class changed map to vector and added a function to finded is a point already exist
added little check when we add a point to a function graphic