title: How do I create a method that stores names in Pharo?
body: <p>I am trying to create a method that stores names of and then   (possibly in another method) append them to each other to make an array. Interests me is the size of the array.</p>
  
  <p>To explain better let's say I have three people in a group and then I want to have a group with a fixed number of people. for instance, I need to define "addPerson" and "people group" in the code below:</p>
  
  <pre><code>| People |
  People := People new.
  People 
      addPerson: Person John;
      addPerson: Person Adam;
      addPerson: Person Josh.
  self assert: People peopleGroup size = 3
  </code></pre>
  
  <p>I'm very new to Smalltalk and Pharo so this might be a very beginner question.</p>