raises an error when unable to create clusters in Ward clustering

We can use this as a meaningful error for now but in future we have to make an enhancement to the Ward algorithm such that it decides the optimal and threshold value of K to be chosen.