Added alternative solution for jump game