title: Draw dendrogram using agglomerative algorithm
body: <p><a href="https://i.stack.imgur.com/Giq8L.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Giq8L.jpg" alt="Question" /></a></p>
  <p>I have tried making it dendrogram but it was seeming to me very wrong.</p>
  <p>Pair I have made:
  XB, XBZ, XBZY</p>