scala list example