title: Find in a hash any values greater then a specific value
body: <p>Suppose I have this hash</p>
  
  <pre><code>{ 1 =&gt; 4 , 2 =&gt; 3 , 4 =&gt; 1}
  </code></pre>
  
  <p>Now I want to make a loop where I can find any value which is greater then 3.</p>
  
  <p>I know with <code>hash.values?3</code> I can find the pairs has a value of 3.
  But how can I find all the values which are greater of equal as 3.</p>
  
  <p>Roelof</p>
  
  <p>Edit 1 : 
  I try to make this pseudo code at work in ruby.</p>
  
  <pre><code>while there are sets of 3 ones:
    remove the set from the hash (h[1] -= 3)
    sum 1000 to the score
  end
  </code></pre>