Computer Algebra System in Scala