Model Based Clustering Algorithm Python Code For Prime