new puzzle. 4 gives wrong answer and 5 doesn't end

Will debug