Implemented hyperrectangle class
Added documentation
Added a specialisation for rectangles