Sorting strings by length added and SubVector class added.