Experiments with the implementation of analysis algorithms in Scala