Added implementation for find_solution and help function l2k()