Relevant articles: Void Type in Kotlin How to use Kotlin Range Expressions Split a List into Parts in Kotlin