added solution to jump game problem