add Scala learning code