Implement scala course week1 exemple