Added randomgenerator and implemented the K-Mean algoritm along with
testcases.