[SPARK-3790][MLlib] CosineSimilarity Example

Provide example  for `RowMatrix.columnSimilarity()`
Shall we use LIBSVM format? Please cache `rows`.