title: Scala: Using Option for key/value pairs in a list
body: <p>I'm trying to write the get method for a key, value pair implemented using a list. I want to use the Option type as I heard its good for this but I'm new to Scala and I'm not really sure how to use it in this case...</p>
  
  <p>This is as far as I got, only the method header.</p>
  
  <pre><code>def get(key : String): Option[Any] = {}
  </code></pre>