Running C++ Code in Scala