Advent of code, Kotlin

To show my colleagues how to solve it in Kotlin.