Add rect2d class
Merge pull request #6 from greghaynes/feature/rect2d

Add rect2d class