title: Scala two list match data
body: <p>First List data as below </p>
  
  <pre><code>List(("A",66729122803169854198650092,"SD"),("B",14941578978240528153321786,"HD"),("C",14941578978240528153321786,"PD"))
  </code></pre>
  
  <p>and second list contains data as below </p>
  
  <pre><code>List(("X",14941578978240528153321786),("Y",68277588597782900503675727),("Z",14941578978240528153321786),("L"66729122803169854198650092))
  </code></pre>
  
  <p>using above two list I want to form following list which matched first list second number to second list second number so my output should as below </p>
  
  <pre><code>List(("X",14941578978240528153321786,"B","HD"),("X",14941578978240528153321786,"C","PD"),   ("Y",68277588597782900503675727,"",""),("Z",14941578978240528153321786,"B","HD"),("Z",14941578978240528153321786,"C","PD"),
  ("L",66729122803169854198650092,"A","SD"))
  </code></pre>