Create Jump Game II.cpp

dynamic programming can be used to solve this problem in O(N) complexity.