[array] write code for Jump Game