Added bezier curves function

But it doesn't do anything yet.