and the next two easy levels
the first test in Scala