Added basic rectangle class; untested and undocumented