Added Scala list implementation