initial commit of cluster creation and plotting functions