Update test.txt

simple program in Scala