Create rectangle.rb

calculating the area, perimeter and length of the rectangle