It's just incrementing the position in an array but checks if we're already at the end. Will comment.