title: Finding the key of HashMap which holds the lowest integer value
body: <p>I'm creating an educational game for young students who needs to learn the most common words. On random I pick three words of the list, show them on the screen, play an audio recording of one of the three words and then the student has to pick the word that has been pronounced. I keep track of how many times they have guessed each word. In that way I can set up a criteria for when new words should be introduced to the student. When three of the words are picked I'll like to pronounce the word that the student has had least exposure to.</p>
  <p>I have a HashMap called words, which contains the words, and a integer value of how many times the student guessed the word.</p>
  <pre><code>  HashMap&lt;String,Integer&gt;  words 
  </code></pre>
  <p>It contains between 10 - 120 keys/words. I'll like to create a method, which takes three of the hash map keys as parameters, that can return the String/key having the lowest value of the keys asked for.</p>
  <p>I have had trouple getting this to work as intended and I'd appreciate any help.</p>