nextTrack Method: change i++ to i +1 and i-- to i -1