HW-02

Create a “top level file” inside HW-02 directory called
IyteMutableList.scala that contains:
IyteMutableList class
IyteMutableList object (companion object)

IyteMutableList object lets you construct a new / empty list with
IyteMutableList()

IyteMutableList  class members:
add(x: Int) // append given element
MUTATES THE EXISTING OBJECT!
toString: String  // returns a comma separated list of values

Create a “top level file” inside HW-02 directory called
IyteImmutableList.scala that contains:
IyteImmutableList class
IyteImmutableList object (companion object)

IyteImmutableList object lets you construct a new / empty list with
IyteImmutableList()

IyteImmutableList  class members:
add(x: Int) // prepend given element
SHOULD NOT MUTATE THE OBJECT!!!
toString: String  // returns a comma separated list of values