Completed code to add save graphs corresponding to each cluster.