add arithmeticExpressions and SortingAlgorithms to scala