The output is number that signifies the smallest number of hops/jumps : <p>Create an app that receives input from the terminal console/UI and gives the output on the console/UI. </p>

<p>1st input - A list of 3 letter words. 
2nd input - One word from the above list. 
3rd input - Another word from the list. </p>

<p>The output is number that signifies the smallest number of hops/jumps that one can make from the 2nd input to reach the 3rd input. Every hop/jump has the following rules :
1.  In every hop/jump you can change only one character at a time. 
2.  The resulting word should be in the list. 
Example :</p>

<p>1st Input = ["cat","cii","sim","xim","yep","syd","pol","sit","sii","mat","sat","cit"]
2nd Input = "cat"
3rd Input = "sii"</p>

<p>Hops/Jumps path :</p>

<p>"cat" -> "cit" -> "cii" -> "sii"</p>

<p>Output - 4</p>
