Add arcTo method
Move the curve sample to another script file, and add tests for arcTo