Add solution to jump-game-ii of leetcode