Add section and code for curve area

@behdad

I wasn't 100% sure if I was putting my code in the right files, but this seems to work locally for me.