99 problems implemented in Scala