title: Appending an element to the end of a list in Scala
body: <p>I can't add an element of type <code>T</code> into a list <code>List[T]</code>.
  I tried with <code>myList ::= myElement</code> but it seems it creates a strange object and accessing to <code>myList.last</code> always returns the first element that was put inside the list. How can I solve this problem?</p>