add solution for jump game.