Added rectangle properties and methods. Added Vector structure.