Some scala code and solving project Euler's problems in Scala