bezier curve and its plot