Update lista9.scala

dev -> val since it's still the same, just optimized :P