Closes #22. Rect class now implemented and documented (added missing union functions)