Revert "Revert "modify readme.md""

This reverts commit f898bc032da5b15746cf6a949a7832c2451cca96.
Length.java is the source code to realize the function. You can find the result in the output.txt file.