Adding the StringCalculator example for Scala