Scala version of the 2013 1st year Java lab work of Telecom ParisTech