Adding solution for combination lock problem