Neo is trying to hack the Matrix. He has a list of codes, but to solve this challenge, he must create a function called matrix from a list of integers and a parameter called code. It must return the sum of the elements that are divisible by this code.
val listOfInt = listOf(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
val code = 5
println(listOfInt matrix code)