Add new function geom_curve

geom_curve adds curved lines to a plot, similar to geom_segment adding straight lines.