slight change to jump game example