added rectangle class, testing attr_reader and instance variables