Solved Euler 001 in Kotlin