Updated Relationship class for pattern-clause #41

added a constructor for pattern clause