Wrote it as a regular object with a main method as I didn't have scala-cli installed where I was doing it.
Run with (after putting input in ex.txt):
$ scala advent3.scala
Wrote it as a regular object with a main method as I didn't have scala-cli installed where I was doing it.
Run with (after putting input in `ex.txt`):
```
$ scala advent3.scala
```