Solution to Number Steps (NSTEPS)