Generic method to cut a path solution to a desired number of cluster
This method take a IclPath-class
object and an integer K and return the solution from the path with K clusters
## S4 method for signature 'IclPath' cut(x, K)
x
: A an IclPath
solutionK
: Desired number of clusteran IclPath-class
object with the desired number of cluster
Useful links