Adjust iterator advancement to account for 1-based k indexing. This fixes returning the wrong permutation when selecting the k-th result.
- add problem 3518 implementation - add build configuration with debug and release modes - add test cases and examples - add makefile for problem-specific build workflow