All combinatoric configurations implemented with recursion