How to Get the Current Index in a for-each Loop in Kotlin | CodeTrail