Minor changes.
Added line segment distance.
Added a reminder comment in suffix array.