title: How to work with Maps in Kotlin
body: <p>The code below is creating a new map called <code>nameTable</code>, then adding an entry named example to it, then trying to print the name property of the Value.</p>
  
  <p>When I run it, it seems that the plus operation didn't add a new entry to the map like I thought it would.</p>
  
  <p>So what am I doing wrong? </p>
  
  <pre><code>class Person(name1: String, lastName1: String, age1: Int){
      var name: String = name1
      var lastName: String = lastName1
      var age: Int = age1
  }
  
  var nameTable: MutableMap&lt;String, Person&gt; = mutableMapOf()
  var example = Person("Josh", "Cohen", 24)
  
  fun main (args: Array&lt;String&gt;){
      nameTable.plus(Pair("person1", example))
      for(entry in nameTable){
          println(entry.value.age)
      }
  }
  </code></pre>
  
  <p>While we're at it, I would love some examples of how to add, remove, and get an entry from a map.</p>