add answers for first two assignments

i just add my answers on my repo. this include solutions for first two assignments with example assignment

One trick is, if you don't care about one of the variables in the extractor pattern match, you can use '_' to have it not assigned to anything. Since we don't use 'w' in this case, we can write:

```scala
  case Leaf(c, _) => List(c)
```