Computing the Schultz polynomials and indices for ladder related graphs