[SPARK-3790][MLlib] CosineSimilarity Example

Provide example  for `RowMatrix.columnSimilarity()`
`org.apache.spark.examples.mllib.CosineSimilarity` -> `mllib.CosineSimilarity` (we don't need `org.apache.spark.examples` with `run-example`)