Create practise.scala

practise code