added combinatorial scala