3. Objects clustering: We assign each object based on the minimum distance. Thus, medicine A is
assigned to group 1, medicine B to group 2, medicine C to group 2 and medicine D to group 2. The
element of Group matrix below is 1 if and only if the object is assigned to that group.