Jump Game II

Exercise from LeetCode, it is accepted